var chufangProudcts = [];
var chufangProudctsNames = [ "柏俪兹系列厨房F22835", "贝斯特系列厨房F22760", "贝斯特系列厨房F22646",
		"柏俪兹系列厨房F19694", "格瑞丝系列厨房F19570", "柏俪兹系列厨房F19418", "斯玛特系列厨房F19168",
		"贝斯特系列厨房F19045", "乐维斯系列厨房F18880", "乐维斯系列厨房F18712", "柏俪兹系列厨房F18518",
		"柏俪兹系列厨房F18267","贝斯特系列厨房F18015","乐维斯系列厨房F11975","柏俪兹系列厨房F17685"];
//初始化厨房数据
function initChuFangProducts() {
	var chufangProductsDivContents="";
	for (var i = 0; i < 15; i++) {
		chufangProudcts[i] = new ChufangProducts(chufangProudctsNames[i],i);
		chufangProductsDivContents+=" <li><a href=\"javascript:void changeProduct("+i+");\"  title=\""+chufangProudctsNames[i]+"\">"
                            +"<img src=\"static/images/product/chufang/p"+i+".jpg\" width=\"198\" height=\"129\" />"
                            +"<p><span>厨房</span>"+chufangProudctsNames[i]+"</p></a>";
	}
	//$("#chufangProductsId").html(chufangProductsDivContents);
}
//initChuFangProducts();
//切换产品
function changeProduct(i){
	alert(i);
}
// 厨房对象
function ChufangProducts(name, code) {
	this.name = name;
	this.code = code;
}